package com.gxp.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 方法对象 zknj_method
 * 
 * @author zh
 * @date 2024-07-19
 */
public class ZknjMethod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long modId;

    /** 名称 */
    @Excel(name = "名称")
    private String modName;

    /** 描述 */
    @Excel(name = "描述")
    private String modDes;

    /** 状态 */
    @Excel(name = "状态")
    private Long modStatus;

    /** 采样参数集 */
    @Excel(name = "采样参数集")
    private String modAcqupara;

    /** 是否激活 */
//    @Excel(name = "是否激活")
//    private String modActived;

    /** 模板 */
    @Excel(name = "模板")
    private String templateName;

    /** 审核员 */
    @Excel(name = "审核员")
    private String approveBy;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;

    private String comment;

    /** 所属服务Id */
    @Excel(name = "所属服务Id")
    private Long serId;

    private List<ZkSolvent> solvents;

//    private String solvIds;

    private Long isLock;

    private String approveType;

    private String approveDetail;

    public void setModId(Long modId) 
    {
        this.modId = modId;
    }

    public Long getModId() 
    {
        return modId;
    }
    public void setModName(String modName) 
    {
        this.modName = modName;
    }

    public String getModName() 
    {
        return modName;
    }
    public void setModDes(String modDes) 
    {
        this.modDes = modDes;
    }

    public String getModDes() 
    {
        return modDes;
    }
    public void setModStatus(Long modStatus) 
    {
        this.modStatus = modStatus;
    }

    public Long getModStatus() 
    {
        return modStatus;
    }
    public void setModAcqupara(String modAcqupara) 
    {
        this.modAcqupara = modAcqupara;
    }

    public String getModAcqupara() 
    {
        return modAcqupara;
    }
//    public void setModActived(String modActived)
//    {
//        this.modActived = modActived;
//    }
//
//    public String getModActived()
//    {
//        return modActived;
//    }
    public void setTemplateName(String templateName)
    {
        this.templateName = templateName;
    }

    public String getTemplateName()
    {
        return templateName;
    }
    public void setApproveBy(String approveBy) 
    {
        this.approveBy = approveBy;
    }

    public String getApproveBy() 
    {
        return approveBy;
    }
    public void setApproveTime(Date approveTime) 
    {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() 
    {
        return approveTime;
    }
    public void setSerId(Long serId) 
    {
        this.serId = serId;
    }

    public Long getSerId() 
    {
        return serId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<ZkSolvent> getSolvents() {
        return solvents;
    }

    public void setSolvents(List<ZkSolvent> solvents) {
        this.solvents = solvents;
    }

    public Long getIsLock() {
        return isLock;
    }

    public void setIsLock(Long isLock) {
        this.isLock = isLock;
    }

    public String getApproveType() {
        return approveType;
    }

    public void setApproveType(String approveType) {
        this.approveType = approveType;
    }

    public String getApproveDetail() {
        return approveDetail;
    }

    public void setApproveDetail(String approveDetail) {
        this.approveDetail = approveDetail;
    }

    @Override
    public String toString() {
        return "ZknjMethod{" +
                "modId=" + modId +
                ", modName='" + modName + '\'' +
                ", modDes='" + modDes + '\'' +
                ", modStatus=" + modStatus +
                ", modAcqupara='" + modAcqupara + '\'' +
                ", templateName='" + templateName + '\'' +
                ", approveBy='" + approveBy + '\'' +
                ", approveTime=" + approveTime +
                ", comment='" + comment + '\'' +
                ", serId=" + serId +
                '}';
    }
}
